<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 编写函数 map(arr)，要求把数组中的每一位数字都增加30%
    var arr =[];
    function map(arr){
        for(var i = 0 ; i < arr.length-1;i++){
            arr[i] *= 1.3;
        }
        return arr
    }
    map([100,500,895,48575,65464])
    console.log(map([100,500,895,48575,65464]))
</script>
</html>